<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
	<script type="text/javascript" src="/deng/include/include-css.js"></script>
	<title>编辑管理</title>
</head>
<body>
	<div class="m-portlet">
		<div class="m-portlet__head">
			<div class="m-portlet__head-caption">
				<div class="m-portlet__head-title">
					<span class="m-portlet__head-icon m--hide">
					<i class="la la-gear"></i>
					</span>
					<h3 class="m-portlet__head-text">
						编辑知识库
					</h3>
				</div>
			</div>
		</div>
		<!--begin::Form-->
		<form class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed" id="defaultForm" method="post">
			<div class="m-portlet__body">
				<div class="form-group" style="display:none;">
					<label class="col-lg-1 control-label">ID编号</label>
					<div class="col-lg-6">
						<input class="form-control" type="hidden" name="xt_knowledge_id" id="xt_knowledge_id">
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-lg-1 control-label">标&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;题</label>
					<div class="col-lg-6">
						<input class="form-control" type="text" maxlength="100" id="title"  name="title" placeholder="请输入">
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-lg-1 control-label">类&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;型</label>
					<div class="col-lg-6">
						<select class="form-control" name="type" id="type" placeholder="请选择">
							<option value="">请选择</option>
							<option value="0">平台问题</option>
							<option value="1">学习知识</option>
						</select>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-lg-1 control-label">状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态</label>
					<div class="col-lg-6">
						<select class="form-control" name="state" id="state" placeholder="请选择">
							<option value="">请选择</option>
							<option value="0">待解决</option>
							<option value="1">已解决</option>
						</select>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-lg-1 control-label">级&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别</label>
					<div class="col-lg-6">
						<select class="form-control" name="level" id="level" placeholder="请选择">
							<option value="">请选择</option>
							<option value="1">紧急</option>
							<option value="2">正常</option>
							<option value="3">一般</option>
						</select>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-lg-1 control-label">内&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;容</label>
					<div class="col-lg-11">
						<div id="summernote"></div>
						<input type="hidden" class="form-control" maxlength="2000" id="content" name="content" placeholder="请输入">
					</div>
				</div>
			</div>
            <div class="m-portlet__foot m-portlet__no-border m-portlet__foot--fit">
				<div class="m-form__actions m-form__actions--solid">
					<div class="form-group m-form__group row">
						<div class="col m--align-left">
							<button type="button" class="btn btn-light-primary font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" onclick="updateXtKnowledge()">保存</button>
							<button type="button" class="btn btn-secondary m-btn m-btn--custom m-btn--icon" onclick="goback()">返回</button>
						</div>
						<div class="col m--align-right">
							<a href="javascript:resetAll('defaultForm')" class="btn btn-secondary m-btn m-btn--custom m-btn--icon">
								<span><i class="fa fa-repeat"></i><span>重置</span></span>
							</a>
						</div>
					</div>
				</div>
			</div>
		</form>
		<!--end::Form-->
	</div>
</body>
<script type="text/javascript" src="/deng/include/include.js"></script>
<link href="/deng/source/plugins/newAdmin/bootstrap/4.0.0/plugins/summernote/summernote-bs4.css" rel="stylesheet" />
<script src="/deng/source/plugins/newAdmin/bootstrap/4.0.0/js/waves.js"></script>
<script src="/deng/source/plugins/newAdmin/bootstrap/4.0.0/plugins/summernote/summernote-bs4.min.js"></script>
<script src="/deng/source/plugins/newAdmin/bootstrap/4.0.0/plugins/summernote/lang/summernote-zh-CN.min.js"></script>
<script type="text/javascript" src="/deng/view/sys/xt-knowledge/xt-knowledge-update.js"></script>
</html>
